<div class="noidungs view">
<h2><?php  __('Noidung');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $noidung['Noidung']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Manoidung'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $noidung['Noidung']['manoidung']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Chitiet'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $noidung['Noidung']['chitiet']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Noidung'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($noidung['Noidung']['id'], array('controller' => 'noidungs', 'action' => 'view', $noidung['Noidung']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Loaikiemke'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($noidung['Loaikiemke']['id'], array('controller' => 'loaikiemkes', 'action' => 'view', $noidung['Loaikiemke']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Noidung', true), array('action' => 'edit', $noidung['Noidung']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Noidung', true), array('action' => 'delete', $noidung['Noidung']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $noidung['Noidung']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Noidungs', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Noidung', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Noidungs', true), array('controller' => 'noidungs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Noidung', true), array('controller' => 'noidungs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Loaikiemkes', true), array('controller' => 'loaikiemkes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Loaikiemke', true), array('controller' => 'loaikiemkes', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Ketquas', true), array('controller' => 'ketquas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Ketqua', true), array('controller' => 'ketquas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phieukiemkes', true), array('controller' => 'phieukiemkes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phieukiemke', true), array('controller' => 'phieukiemkes', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Ketquas');?></h3>
	<?php if (!empty($noidung['Ketqua'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Thietbi Id'); ?></th>
		<th><?php __('Chitiet'); ?></th>
		<th><?php __('Phieukiemke Id'); ?></th>
		<th><?php __('Noidung Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($noidung['Ketqua'] as $ketqua):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $ketqua['id'];?></td>
			<td><?php echo $ketqua['thietbi_id'];?></td>
			<td><?php echo $ketqua['chitiet'];?></td>
			<td><?php echo $ketqua['phieukiemke_id'];?></td>
			<td><?php echo $ketqua['noidung_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'ketquas', 'action' => 'view', $ketqua['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'ketquas', 'action' => 'edit', $ketqua['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'ketquas', 'action' => 'delete', $ketqua['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $ketqua['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Ketqua', true), array('controller' => 'ketquas', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Noidungs');?></h3>
	<?php if (!empty($noidung['Noidung'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Manoidung'); ?></th>
		<th><?php __('Chitiet'); ?></th>
		<th><?php __('Noidung Id'); ?></th>
		<th><?php __('Loaikiemke Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($noidung['Noidung'] as $noidung):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $noidung['id'];?></td>
			<td><?php echo $noidung['manoidung'];?></td>
			<td><?php echo $noidung['chitiet'];?></td>
			<td><?php echo $noidung['noidung_id'];?></td>
			<td><?php echo $noidung['loaikiemke_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'noidungs', 'action' => 'view', $noidung['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'noidungs', 'action' => 'edit', $noidung['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'noidungs', 'action' => 'delete', $noidung['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $noidung['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Noidung', true), array('controller' => 'noidungs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phieukiemkes');?></h3>
	<?php if (!empty($noidung['Phieukiemke'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Maphieu'); ?></th>
		<th><?php __('Tenphieu'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Loaikiemke Id'); ?></th>
		<th><?php __('Noidung Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($noidung['Phieukiemke'] as $phieukiemke):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phieukiemke['id'];?></td>
			<td><?php echo $phieukiemke['maphieu'];?></td>
			<td><?php echo $phieukiemke['tenphieu'];?></td>
			<td><?php echo $phieukiemke['canbo_id'];?></td>
			<td><?php echo $phieukiemke['loaikiemke_id'];?></td>
			<td><?php echo $phieukiemke['noidung_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phieukiemkes', 'action' => 'view', $phieukiemke['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phieukiemkes', 'action' => 'edit', $phieukiemke['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phieukiemkes', 'action' => 'delete', $phieukiemke['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phieukiemke['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phieukiemke', true), array('controller' => 'phieukiemkes', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
